package com.mtons.mblog.modules.repository;

import com.mtons.mblog.modules.entity.Music;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 * MusicRepository.
 * @author yuzhong
 * @date 2019/2/28 19:14
 */
public interface MusicRepository  extends JpaRepository<Music, Long>, JpaSpecificationExecutor<Music> {

    /**
     * 查询音乐列表
     * @return
     */
    @Override
    List<Music> findAll();
}
